import { getRequest, postRequest } from '/@/lib/axios';

export const anesApi = {
  // 查询麻醉工作列表
  queryAnesworkList: (param) => {
    return postRequest('/anes/aneswork/query', param);
  },

  // 加密查询麻醉工作列表
  queryAnesworkListSM4: (param) => {
    return postRequest('/anes/aneswork/page/query/encrypt', param);
  },

  // 新增麻醉工作
  addAneswork: (param) => {
    return postRequest('/anes/aneswork/add', param);
  },

  updateAneswork:(param) => {
    return postRequest('/anes/aneswork/update', param);
  }
};
